package com.sdonkey.score.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 
 * @author MengXue
 * 2016年11月4日
 */
public class Tadvertiser implements Serializable{
	private static final long serialVersionUID = -4631932342167497100L;

	//id
	private long id;
	//公司名称
	private String companyName;
	//公司地址
	private String companyAddress;
	//通讯地址
	private String mailingAddress;
	//
	private String websiteUrl;
	//邮箱
	private String email;
	//邮编
	private String postcode;
	//qq
	private String qq;
	//真实姓名
	private String realName;
	//移动电话
	private String mobilePhone;
	//
	private String fixedPhone;
	//营业执照图片
	private String businessLicence;
	//证件号
	private String cardCode;
	//证件附件的图片url
	private String cardUrl;
	//法人身份证正面url
	private String identificationFront;
	//法人身份证反面url
	private String identificationReverse;
	//开户行
	private String openbank;
	//开户账号
	private String accountNumber;
	//信用额度
	private BigDecimal creditQuota;
	//信用额度余额
	private BigDecimal creditBalance;
	//账户余额
	private BigDecimal actualBalance;
	//账户累计消费
	private BigDecimal totalConsumption;
	//账户预算
	private BigDecimal budget;
	//登录密码
	private String password;
	//信用等级
	private String creditRating;
	//操作人id
	private String userId;
	//创建时间
	private Timestamp createTime;
	//修改时间
	private Timestamp updateTime;
	//状态(0:初始化 1:激活)
	private String status;
	//
	private String name;
	//管理员邮箱
	private String adminMail;
	//登录
	private String accountName;
	//审核状态
	private String checkStatus;
	

	public Tadvertiser(){
	}
	


	public void setId(long id) {
		this.id = id;
	}
	
	public long getId() {
		return this.id;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}
	
	public String getCompanyAddress() {
		return this.companyAddress;
	}

	public void setMailingAddress(String mailingAddress) {
		this.mailingAddress = mailingAddress;
	}
	
	public String getMailingAddress() {
		return this.mailingAddress;
	}

	public void setWebsiteUrl(String websiteUrl) {
		this.websiteUrl = websiteUrl;
	}
	
	public String getWebsiteUrl() {
		return this.websiteUrl;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getEmail() {
		return this.email;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}
	
	public String getPostcode() {
		return this.postcode;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}
	
	public String getQq() {
		return this.qq;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}
	
	public String getRealName() {
		return this.realName;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	
	public String getMobilePhone() {
		return this.mobilePhone;
	}

	public void setFixedPhone(String fixedPhone) {
		this.fixedPhone = fixedPhone;
	}
	
	public String getFixedPhone() {
		return this.fixedPhone;
	}

	public void setBusinessLicence(String businessLicence) {
		this.businessLicence = businessLicence;
	}
	
	public String getBusinessLicence() {
		return this.businessLicence;
	}

	public void setCardCode(String cardCode) {
		this.cardCode = cardCode;
	}
	
	public String getCardCode() {
		return this.cardCode;
	}

	public void setCardUrl(String cardUrl) {
		this.cardUrl = cardUrl;
	}
	
	public String getCardUrl() {
		return this.cardUrl;
	}

	public void setIdentificationFront(String identificationFront) {
		this.identificationFront = identificationFront;
	}
	
	public String getIdentificationFront() {
		return this.identificationFront;
	}

	public void setIdentificationReverse(String identificationReverse) {
		this.identificationReverse = identificationReverse;
	}
	
	public String getIdentificationReverse() {
		return this.identificationReverse;
	}

	public void setOpenbank(String openbank) {
		this.openbank = openbank;
	}
	
	public String getOpenbank() {
		return this.openbank;
	}

	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}
	
	public String getAccountNumber() {
		return this.accountNumber;
	}

	public void setCreditQuota(BigDecimal creditQuota) {
		this.creditQuota = creditQuota;
	}
	
	public BigDecimal getCreditQuota() {
		return this.creditQuota;
	}

	public void setCreditBalance(BigDecimal creditBalance) {
		this.creditBalance = creditBalance;
	}
	
	public BigDecimal getCreditBalance() {
		return this.creditBalance;
	}

	public void setActualBalance(BigDecimal actualBalance) {
		this.actualBalance = actualBalance;
	}
	
	public BigDecimal getActualBalance() {
		return this.actualBalance;
	}

	public void setTotalConsumption(BigDecimal totalConsumption) {
		this.totalConsumption = totalConsumption;
	}
	
	public BigDecimal getTotalConsumption() {
		return this.totalConsumption;
	}

	public void setBudget(BigDecimal budget) {
		this.budget = budget;
	}
	
	public BigDecimal getBudget() {
		return this.budget;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getPassword() {
		return this.password;
	}

	public void setCreditRating(String creditRating) {
		this.creditRating = creditRating;
	}
	
	public String getCreditRating() {
		return this.creditRating;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getUserId() {
		return this.userId;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	
	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
	
	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getStatus() {
		return this.status;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	public String getName() {
		return this.name;
	}

	public void setAdminMail(String adminMail) {
		this.adminMail = adminMail;
	}
	
	public String getAdminMail() {
		return this.adminMail;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	
	public String getAccountName() {
		return this.accountName;
	}

	public void setCheckStatus(String checkStatus) {
		this.checkStatus = checkStatus;
	}
	
	public String getCheckStatus() {
		return this.checkStatus;
	}




	@Override
	public String toString() {
		return  "Tadvertiser ["
			+ "Id = " + getId() + ","
			+ "CompanyName = " + getCompanyName() + ","
			+ "CompanyAddress = " + getCompanyAddress() + ","
			+ "MailingAddress = " + getMailingAddress() + ","
			+ "WebsiteUrl = " + getWebsiteUrl() + ","
			+ "Email = " + getEmail() + ","
			+ "Postcode = " + getPostcode() + ","
			+ "Qq = " + getQq() + ","
			+ "RealName = " + getRealName() + ","
			+ "MobilePhone = " + getMobilePhone() + ","
			+ "FixedPhone = " + getFixedPhone() + ","
			+ "BusinessLicence = " + getBusinessLicence() + ","
			+ "CardCode = " + getCardCode() + ","
			+ "CardUrl = " + getCardUrl() + ","
			+ "IdentificationFront = " + getIdentificationFront() + ","
			+ "IdentificationReverse = " + getIdentificationReverse() + ","
			+ "Openbank = " + getOpenbank() + ","
			+ "AccountNumber = " + getAccountNumber() + ","
			+ "CreditQuota = " + getCreditQuota() + ","
			+ "CreditBalance = " + getCreditBalance() + ","
			+ "ActualBalance = " + getActualBalance() + ","
			+ "TotalConsumption = " + getTotalConsumption() + ","
			+ "Budget = " + getBudget() + ","
			+ "Password = " + getPassword() + ","
			+ "CreditRating = " + getCreditRating() + ","
			+ "UserId = " + getUserId() + ","
			+ "CreateTime = " + getCreateTime() + ","
			+ "UpdateTime = " + getUpdateTime() + ","
			+ "Status = " + getStatus() + ","
			+ "Name = " + getName() + ","
			+ "AdminMail = " + getAdminMail() + ","
			+ "AccountName = " + getAccountName() + ","
			+ "CheckStatus = " + getCheckStatus() + ","
		+"]";
	}
	
}


